package com.sc.nft.entity.dto;

import com.sc.nft.enums.MarketTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 新的2级锁单
 */
@Data
@ApiModel("新2级锁单")
public class NewSecondCollectionLockOrder {

    @NotEmpty(message = "必要参数不可以为空")
    @ApiModelProperty("商品id集合")
    private List<Long> secondCollectionIds;

    @NotNull(message = "必要参数不可以为空")
    @ApiModelProperty("藏品id")
    private Long collectionId;

    @NotNull(message = "必要参数不可以为空")
    @ApiModelProperty("锁单类型")
    private MarketTypeEnum marketType;

}
